import http from '../common/http/http.js'


export const addCommentApi = (data) => {
	return http.post('/api/comment/add', data)
}

export const getAllCommentsApi = (userId) => {
	return http.get(`/api/comment/getAllComments/${userId}`)
}


export const getSellerCommentsApi = (userId) => {
	return http.get(`/api/comment/getSellerComments/${userId}`)
}


